<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="js/browser.js"></script>
    <script src="js/react.development.js"></script>
    <script src="js/react-dom.development.js"></script>
</head>
<body>
    <div id="div1"></div>
</body>
<script type="text/babel">
    let root = document.getElementById('div1');

    ReactDOM.render(
        <div className='box'>
            <label htmlFor='user'>用户名：</label>
            <input id='user' type='text'/>
        </div>,
        root
    );


</script>
</html>